cmake_minimum_required(VERSION 3.19)
project(offer_2)

set(CMAKE_CXX_STANDARD 14)

add_executable(offer_2
        _03_findRepeatNumber/findRepeatNumber.cpp
        _04_findNumberIn2DArray/findNumberIn2DArray.cpp
        _05_replaceSpace/replaceSpace.cpp
        _06_reversePrint/reversePrint.cpp
        _07_buildTree/buildTree.cpp
        _09_CQueue/CQueue.cpp
        _10_fib/fib.cpp
        _10_numWays/numWays.cpp
        _11_minArray/minArray.cpp
        _12_exist/exist.cpp
        _13_movingCount/movingCount.cpp
        _14_cuttingRope/cuttingRope.cpp
        _14_cuttingRope_2/cuttingRope.cpp
        _15_hammingWeight/hammingWeight.cpp
        _16_myPow/myPow.cpp
        _17_printNumbers/printNumbers.cpp
        _18_deleteNode/deleteNode.cpp
        _19_isMatch/isMatch.cpp
        _20_isNumber/isNumber.cpp
        _21_exchange/exchange.cpp
        _22_getKthFromEnd/getKthFromEnd.cpp
        _24_reverseList/reverseList.cpp
        _25_mergeTwoLists/mergeTwoLists.cpp
        _26_isSubStructure/isSubStructure.cpp
        _27_mirrorTree_mirrorTree/mirrorTree.cpp
        _28_isSymmetric/isSymmetric.cpp
        _29_spiralOrder/spiralOrder.cpp
        _30_MinStack/MinStack.cpp
        _31_validateStackSequences/validateStackSequences.cpp
        _32_levelOrder/levelOrder.cpp
        _32_levelOrder-2/levelOrder.cpp
        _32_levelOrder-3/levelOrder.cpp
        _33_verifyPostorder/verifyPostorder.cpp
        _34_pathSum/pathSum.cpp
        _35_copyRandomList/copyRandomList.cpp
        _36_treeToDoublyList/treeToDoublyList.cpp
        _37_Codec/Codec.cpp
        _38_permutation/permutation.cpp
        _39_majorityElement/majorityElement.cpp
        _40_getLeastNumbers/getLeastNumbers.cpp
        _41_MedianFinder/MedianFinder.cpp
        _42_maxSubArray/maxSubArray.cpp
        _43_countDigitOne/countDigitOne.cpp
        _44_findNthDigit/findNthDigit.cpp
        _45_minNumber/minNumber.cpp
        _46_minNumber/translateNum.cpp
        _47_maxValue/maxValue.cpp
        _48_lengthOfLongestSubstring/lengthOfLongestSubstring.cpp
        _49_nthUglyNumber/nthUglyNumber.cpp
        _50_firstUniqChar/firstUniqChar.cpp)
